package com.wjh.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.wjh.entities.CommonResult;
import com.wjh.entities.Payment;

public class CustomerBlockHandler {
    public static CommonResult handlerException1(BlockException exception) {
        return new CommonResult(400, "按客户自定义, 全局 handlerException！--------1");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(400, "按客户自定义, 全局 handlerException！--------2");
    }
}
